import { createRouter, createWebHistory } from 'vue-router'
import One from "@/views/One";
import Two from "@/views/Two";
import Three from "@/views/Three";
import Test from "@/views/Test";

const routes = [
  {
    path: '/one',
    name: 'one',
    component: One,
  },
  {
    path: '/two',
    name: 'two',
    component: Two
  },
  {
    path: '/three',
    name: 'three',
    component: Three
  },
  {
    path: '/test',
    name: 'test',
    component: Test
  }
]

const router = createRouter({
  history: createWebHistory(process.env.BASE_URL),
  routes
})

export default router
